package com.gzlg.hospital.dao;

import com.gzlg.hospital.pojo.Schedule;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


import java.util.Date;
import java.util.List;

@Mapper
@Repository
public interface ScheduleDao {
    Schedule getScheduleByDoctorIdAndWorkDate(Integer doctor_id, Date work_date);
    void updateSchedule(Schedule schedule);

    List<Schedule> getSchedulesByDoctorId(Integer doctor_id);
    void insertSchedule(Schedule schedule);

}